// 全局共享数据示例
import { useRequest } from "ahooks";
import { globalConfigV1ControllerShow } from "@/services/auto/globalConfig";

const useGlobalConfig = () => {
  const {data, runAsync} = useRequest(globalConfigV1ControllerShow, {
  });

  return {
    data: data!,
    runAsync,
  };
};

export default useGlobalConfig;
